#!/usr/bin/env bash
cd `dirname $0`
export PATH="$PATH:$(pwd)/node_modules/.bin"
hexo g
rsync -avz -e "ssh -p ${PORT:-22} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" ./public/ root@ss2.cjahv.com:/var/www/html/blog/
